package com.example.umbrella.model;

public class BluetoothDeviceModel {
    private String deviceName;
    private String deviceAddress;
    private int rssi;
    private String serviceUuid;
    private String characteristicUuid;

    public BluetoothDeviceModel(String deviceName, String deviceAddress, int rssi) {
        this.deviceName = deviceName;
        this.deviceAddress = deviceAddress;
        this.rssi = rssi;
    }

    // Getters and setters
    public String getDeviceName() {
        return deviceName == null || deviceName.isEmpty() ? "Unknown Device" : deviceName;
    }

    public String getDeviceAddress() {
        return deviceAddress;
    }

    public int getRssi() {
        return rssi;
    }

    public void setRssi(int rssi) {
        this.rssi = rssi;
    }

    public String getServiceUuid() {
        return serviceUuid;
    }

    public void setServiceUuid(String serviceUuid) {
        this.serviceUuid = serviceUuid;
    }

    public String getCharacteristicUuid() {
        return characteristicUuid;
    }

    public void setCharacteristicUuid(String characteristicUuid) {
        this.characteristicUuid = characteristicUuid;
    }
} 